package com.wyw.minio.learning.service.impl;

import com.wyw.minio.learning.service.MinioAdminService;
import com.wyw.minio.learning.utils.MinioAdminUtils;
import org.springframework.stereotype.Service;

/**
 * @Title
 * @Description
 * @Author Mr Wu yewen.wu.china@gmail.com
 * @Date 2024/3/28 16:58
 * Update History:
 * Author        Time            Content
 */
@Service
public class MinioAdminServiceImpl implements MinioAdminService {

    private MinioAdminUtils minioAdminUtils;

    public MinioAdminServiceImpl(MinioAdminUtils minioAdminUtils) {
        this.minioAdminUtils = minioAdminUtils;
    }

    @Override
    public String listUsers() {
        return minioAdminUtils.listUsers();
    }
}
